﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using FantastPlatform.Framework.IModel;
using FantastPlatform.Framework.Model;
using FantastPlatform.Framework.IService;
using FantastPlatform.Framework;
using FantastPlatform.Framework.Core;

namespace FantastPlatform.Community.UI
{
    public partial class ResponsibilityAreaStreetForm : BasePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }
        protected int GetOrgId()
        {
            if (LoginEmployee != null)
            {
                //IPostService postService = ServiceFactory.CreateService<IPostService>();
                //ConditionGroup group = new ConditionGroup();
                //group.Conditions.Add(new Condition{ Field = "Enable" , Type = typeof(bool).FullName, Value1 = true});
                //  group.Conditions.Add(new Condition{ Field = "Enable" , Type = typeof(bool).FullName, Value1 = true});

                //IPost post = postService.Search
                return LoginEmployee.Id;
            }
            else
            {
                return 91;
            }
        }
    }
}